<template>
	<view class="ALL">
		<view class="title">
			<text>绑定卡号</text>
		</view>
		<view class="login-card">
			<input class="login-card-input" type ="text" value="" placeholder="请输入卡号" placeholder-class="placeholderStyle"/>
		</view>
		<view class="hint">
			<text>首次登录需要绑定卡号，</text>
			<text>输入卡号绑定，或者直接刷卡上条码完成绑定</text>
		</view>
		<view class="card-logo">
			<image src="../../static/img/saoma@2x.png" mode=""></image>
		</view>
		<view class="ensure" @tap="loginin">
			<text>下一步</text>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			loginin(){
				this.login();
				uni.switchTab({
					url:'../index/index'
				})
			},
			
		}
	}
</script>

<style>
	.ALL{
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.title{
		display: flex;
		width: 100%;
		padding: 120rpx 0;
		flex: 1;
		text-align: center;
		justify-content: center;
		align-items: center;
		color: #00B9EF;
		font-size: 34rpx;
	}
	.login-card{
		width: 100%;
		height: 120rpx;
		display: flex;
		align-items: center;
		padding-left: 20rpx;		
	}
	.login-card-input{
		width: 90%;
		display: flex;		
		margin-left: 40rpx;		
		border: none;
		border-bottom: 2rpx solid #E5E5E5;
	}
	.placeholderStyle{
		color: #000000;
		font-size: 34rpx;
	}
	.hint{
		width: 100%;
		height: 102rpx;
		display: flex;
		margin-bottom: 20rpx;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		color: #A9A9A9;
		font-size: 30rpx;
	}
	.hint text{
		margin-bottom: 20rpx;
	}
	.card-logo image{
		width: 110rpx;
		height: 110rpx;
	}
	.ensure{
		width: 90%;
		height: 100rpx;
		background-color: #00B9EF;
		border-radius: 20rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		color: white;
		font-size: 40rpx;
		margin-top: 30rpx;
	}

</style>
